﻿<localView:UserControlBase x:Class="VocabManager.View.ItemViewModeEdit"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                     xmlns:localView="clr-namespace:VocabManager.View"
                 
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
     d:DesignHeight="800" d:DesignWidth="480">
    
    <Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition></RowDefinition>
            <RowDefinition></RowDefinition>
       

        </Grid.RowDefinitions>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="auto"></RowDefinition>
                <RowDefinition></RowDefinition>

            </Grid.RowDefinitions>
            <ContentControl Style="{StaticResource TitleStyle}" Content="Front"  ></ContentControl>
            <TextBox AcceptsReturn="True" Text="{Binding Path=FrontText,Mode=TwoWay}" Grid.Row="1"></TextBox>
        </Grid>
        <Grid Grid.Row="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="auto"></RowDefinition>
                <RowDefinition></RowDefinition>
<RowDefinition Height="auto"></RowDefinition>
            </Grid.RowDefinitions>
            <ContentControl Style="{StaticResource TitleStyle}" Content="Back"  ></ContentControl>
            <TextBox AcceptsReturn="True" Text="{Binding Path=BackText,Mode=TwoWay}" Grid.Row="1"></TextBox>
            <Border Grid.Row="2"  BorderBrush="Black" BorderThickness="1" Background="Black" Opacity="1" >
                <!--<StackPanel Orientation="Horizontal">-->
                    <Button Padding="10" Name="voiceBtn"  Foreground="White" Margin="12" Grid.Row="2" HorizontalAlignment="Left" Content="Start Recording" Click="voiceBtn_Click"></Button>

                    <!--<Button Padding="10" Foreground="White" Margin="12" Grid.Row="2"  HorizontalAlignment="Left" Content="Stop Recording" IsEnabled="False"   ></Button>-->

                <!--</StackPanel>-->
            </Border>
        </Grid>
        <!--<StackPanel Grid.Row="2" Orientation="Horizontal">
            <Button  Content="Save" Command="{Binding SaveCommand}"></Button>
            <Button Content="Cancel" Command="{Binding CancelEditModeCommand}"></Button>
        </StackPanel>-->
    </Grid>
</localView:UserControlBase>
